package routers

import (
	"github.com/gin-gonic/gin"
	v1 "teacher-helper/api/v1"
	"teacher-helper/middleware"
)

func InitActivityRouter(Router *gin.RouterGroup)  {
	ActivityRouter := Router.Group("activity").Use(middleware.JWTAuth())
	{
		ActivityRouter.GET("/getActivityList", v1.GetActivityList)
		ActivityRouter.POST("/addActivity", v1.AddOneActivity)
		ActivityRouter.PUT("/updateActivity", v1.UpdateActivity)
		ActivityRouter.DELETE("/deleteActivity", v1.DeleteActivity)
	}
}
